package cn.yxr.service.Impl;

import cn.yxr.mapper.app2mapper;
import cn.yxr.pojo.AppInfo;
import cn.yxr.service.AppinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;
@Service
public class AppinfoServiceImpl implements AppinfoService {
    @Autowired
    private app2mapper mapper;

    public int addinfo(AppInfo appInfo) {
        return mapper.addinfo(appInfo);
    }

    public int deleinfo(int id) {
        return 0;
    }

    public int updateinfo(AppInfo appInfo) {
        return 0;
    }

    public AppInfo queryinfo(int id) {
        return null;
    }

    public List<AppInfo> getAppInfoList() {
        return mapper.getAppInfoList();
    }
}
